package com.example.haoqisystem.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateTrainningApplicationRequest {
    @ApiModelProperty(value = "申请公司")
    private String applicationCompany;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请时间")
    private Date applyTime;

    @ApiModelProperty(value = "课程id（创建时不用传，创建时不知道课程id）")
    private Long lectureId;

    @ApiModelProperty(value = "课程名")
    private String lectureName;

    @ApiModelProperty(value = "电话")
    private String phone;
}
